<?php
class User_model extends MY_Model{
	public $_table = 'tbl_user';
	
	function validate_member($username, $password) {
		$this->db->where('username', $username);
		$this->db->where('password', $password);
		$query = $this->db->get('tbl_user');
		if($query->num_rows == 1)
		{
			return true;
		}
		
	}
}
?>